<{include file="admin_header.html"}>
	<script>
		$(document).ready(function() {
            $(".add").fancybox({
		maxWidth	: 700,
		maxHeight	: 600,
		fitToView	: false,
		width		: '90%',
		height		: '90%',
		autoSize	: false,
		closeClick	: false,
		openEffect	: 'none',
		closeEffect	: 'none'
	   });
		});
	</script>
<body> 



<form name="myform" method="post" action="">
 <input type="hidden" name="selids" value=""/>
<table class="tab_list tab_bottom">
    <caption><a href="#">◆用户组管理</a> <a class='add fn-right fancybox.iframe' href='<{spUrl c=usergroup a=add}>'>添加新组</a></caption>
	<tr>
        <th class="checkbox"><input name="checkbox" type="checkbox" onclick="checkorno(this,this.form.catids)" /></th>
        <th>名称</th>
        <th class="td_action">操作</th>
    </tr>
   
<{foreach $dataarr as $entry}>
	<tr>
		<td class="checkbox"><input type="checkbox" name="catids" id="catids" value="<{$entry.gid}>"/></td>
		<td><a href="">[<{$entry.gid}>.<{$entry.gname_cn}>]</a></td>
		<td class="td_action">
        <a class='add fancybox.iframe' href='<{spUrl c=usergroup a=edit gid=$entry.gid}>'>修改</a> | <a href="<{spUrl c=usergroup a=del gid=$entry.gid}>" onClick="return confirm('确认删除吗？')">删除</a></td>
	</tr>
<{/foreach}>     
<div id="submit_float">
<button name="select1" onClick="selAll(this.form.catids)" type="button">全选</button>
   <button name="select2" onClick="noSelAll(this.form.catids)" type="button">反选</button>
   <button name="order" type="button" onClick="subform(this.form,this.form.catids,'<{spUrl c=usergroup a=del}>','')">删除选中</button>
   <button name="reset" type="reset">重置</button>
</div>
</form>
<{include file="admin_footer.html"}>
</body>
</html>